package com.cy.pj.common.exception;

import org.springframework.web.bind.annotation.RestControllerAdvice;

/**
 * @author 张琪
 */
public class ServiceException extends RuntimeException{
    // 如果继承Exception, 那么每一层都需要进行异常的处理, 否则会报错

    public ServiceException(String msg){
    /*    String s = this.getMessage() + msg;
        System.err.println(s);*/
        super(msg);
    }

}
